package cn.zyq.demo.system.config.weixin;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "wx.pay")
public class WxPayProperties {

	public static String mchId;

	public static String mchKey;

	public static String notifyUrl;

	public static String keyPath;

	public void setMchId(String mchId) {
		WxPayProperties.mchId = mchId;
	}

	public void setMchKey(String mchKey) {
		WxPayProperties.mchKey = mchKey;
	}

	public void setNotifyUrl(String notifyUrl) {
		WxPayProperties.notifyUrl = notifyUrl;
	}

	public void setKeyPath(String keyPath) {
		WxPayProperties.keyPath = keyPath;
	}
}
